package com.atguigu.gulimall.product.vo;

import com.atguigu.common.to.SeckillSkuTO;
import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @Author baiWT
 * @Description
 * @Date 2022/4/3 11:42
 **/
@Data
public class SkuItemVo {

    //1、sku基本信息获取
    SkuInfoEntity skuInfo;

    boolean hasStock = true;

    //2、sku的图片信息
    List<SkuImagesEntity> images;

    //3、获取spu的销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;

    //4、获取spu的介绍
    SpuInfoDescEntity desp;

    //5、获取spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    //6、商品参与的最近场次秒杀信息
    private SeckillSkuTO seckillInfo;

}
